package Model;

/**
 * Any given puzzle game
 * Reduces the # of dependencies of the controller
 * -Created Class(Feb 2,2011)
 * Samual Martelli
 * </pre>
 */
public class Game {

	//Globals to be used when initialising,loading, or drawing Game
	public static final int PACMAN_GAME = 1;
	public static final int MOUSE_GAME= 2;
	public static final int BUNNY_GAME = 3;
	
	
	private int score;
	private int level;
	private int gameType;
	private GameData data;

	
	//Useful for loading a saved game with each saved attribute
	public Game(int currentScore,int currentLevel,int type,GameData newData){
		 gameType = type;
		 level = currentLevel;
		 score = currentScore;
		 data = newData;
	}
	
	//Useful for loading level after a death
	public Game(int currentLevel,int type,GameData newData){
		 gameType = type;
		 level = currentLevel;
		 data = newData;
	}
	
	//Standard constructor for implementing game without levels
	public Game(int type,GameData newData){
	     gameType = type;
	     data = newData;

	}
	

	//get the game's data 
	public GameData getData() {
		return data;
	}
	public int getLevel() {
		return level;
	}

	public int getScore() {
		return score;
	}

	public int getGameType() {
		return gameType;
	}
}
